const { config } = require('../config');

const status = (req, res) => {
  res.json({
    status: 'ok',
    uptime: process.uptime(),
    environment: config.env
  });
};

module.exports = { healthController: { status } };
